package com.cie2.janji.entities;

import java.util.Date;

public class News {

	private Long id;
	
	private String title;
	
	private String content;
	
	private User createdBy;
	
	private Date createdDate;


	public Long getId() {
		return id;
	}
	
	public String getTitle() {
		return title;
	}

	public String getContent() {
		return content;
	}

	public User getCreatedBy() {
		return createdBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}



	public void setContent(String content) {
		this.content = content;
	}

	public void setCreatedBy(User createdBy) {
		this.createdBy = createdBy;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setTitle(String title) {
		this.title = title;
	}	

	
	
}
